﻿using System;
using CookComputing.XmlRpc;

namespace VH.SharePoint.Api.Blogger
{
    [XmlRpcMissingMapping(MappingAction.Ignore)]
    public class Blog
    {
        [XmlRpcMember("blogid", Description = "Blog identifier")]
        public String Id { get; set; }
        [XmlRpcMember("url", Description = "Blog home page URL")]
        public String Url { get; set; }
        [XmlRpcMember("blogName", Description = "Blog name")]
        public String Name { get; set; }

        #region Wordpress Extension

        [XmlRpcMember("isAdmin", Description = "")]
        public Boolean IsAdmin { get; set; }
        [XmlRpcMember("xmlrpc", Description = "URL endpoint to use for XML-RPC requests on this blog.")]
        public String EndPointUrl { get; set; }

        #endregion
    }
}